projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
655439b
)
Flush all output streams before aborting
author
Philipp Stephani
<phst@google.com>
Mon, 12 Jun 2017 14:39:15 +0000
(16:39 +0200)
committer
Philipp Stephani
<phst@google.com>
Mon, 12 Jun 2017 14:39:15 +0000
(16:39 +0200)
Maybe the stdout buffer still contains something interesting that
should be flushed.
* src/emacs-module.c (module_abort): Flush all output streams before
aborting.
src/emacs-module.c
patch
|
blob
|
history
diff --git
a/src/emacs-module.c
b/src/emacs-module.c
index 650065d74b9c0ecc2a718f7927fc91ad52695250..6af9474025d87f58373fbd26d77f0d7886c9af5c 100644
(file)
--- a/
src/emacs-module.c
+++ b/
src/emacs-module.c
@@
-1187,7
+1187,7
@@
module_abort (const char *format, ...)
vfprintf (stderr, format, args);
va_end (args);
putc ('\n', stderr);
- fflush (
stderr
);
+ fflush (
NULL
);
emacs_abort ();
}